﻿using System;
using System.ServiceModel;
using Domep.Server.Services;

namespace Host
{
    class Program
    {
        static void Main(string[] args)
        {
            ServiceHost appliancePresentationManagerHost = new ServiceHost(typeof(AppliancePresentationManager));
            Console.WriteLine("Lancement du serveur...");
            Console.WriteLine("Démarrage des services...");
            appliancePresentationManagerHost.Open();

            Console.WriteLine("Services démarrés. Presser 'Entrer' pour quitter...");
            Console.ReadLine();
            appliancePresentationManagerHost.Close();
        }
    }
}
